﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using System;
using System.Collections;
using System.Collections.Generic;

namespace FutureApp.Shop.Dto
{
    /// <summary>
    /// 货品DTO
    /// </summary>
    [AutoMapFrom(typeof(GoodsItem))]
    public class GoodsItemEntityDto : EntityDto<Guid>
    {
        /// <summary>
        /// 商品货号
        /// </summary>
        public string SerialNo { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 商品品牌
        /// </summary>
        public GoodsBrandEntityDto Brand { get; set; }

        /// <summary>
        /// 商品分类
        /// </summary>
        public GoodsCategoryEntityDto Category { get; set; }

        /// <summary>
        /// 商品模型
        /// </summary>
        public GoodsMouldEntityDto Mould { get; set; }

        /// <summary>
        /// 商品SKU
        /// </summary>
        public ICollection<GoodsEntityDto> GoodsList { get; set; }

        /// <summary>
        /// 激活/禁用
        /// </summary>
        public bool IsActive { get; set; }
    }
}
